package com.tarena.lbs.activity.service;


import com.tarena.lbs.activity.api.pojo.ActivityDto;
import com.tarena.lbs.activity.pojo.param.ActivityAddParam;
import com.tarena.lbs.activity.pojo.po.ActivityPO;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.model.Result;
import com.tarena.lbs.common.entity.Activity;

import java.util.List;

public interface ActivityService {

    List<ActivityVO> list(Long businessId);

    Result<ActivityVO> detail(Long id);//活动详情

    void insert(ActivityAddParam param);
    Result<Boolean> checkUserInActivityTarget(Long userId, Long activityId);
}
